package com.springboot.frame.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.solr.client.solrj.beans.Field;
import org.springframework.data.annotation.Id;
import org.springframework.data.solr.core.mapping.SolrDocument;

import java.io.Serializable;

/**
 * @author liheng
 * @ClassName Content
 * @Description
 * @date 2021-03-15 14:33
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@SolrDocument(collection = "new_core")
public class Content implements Serializable {
    @Id
    @Field
    private String id;
    @Field
    private String title;
    @Field
    private String price;
    @Field
    private String descs;
}
